package com.wing.productionPlan.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.productionPlan.model.entity.ProProductDeliveryOrder;
import com.wing.productionPlan.model.response.ProProductDeliveryOrderVo;

import java.util.List;
import java.util.Map;


/**
 * 提货订单-Service
 *
 * @author
 */
public interface ProProductDeliveryOrderService extends IService<ProProductDeliveryOrder> {

    /**
     * 查询提货订单信息
     * @param pg
     * @param map
     * @return
     */
    Page<ProProductDeliveryOrderVo> pageList4app(Page<ProProductDeliveryOrderVo> pg, Map map);

    /**
     * 添加提货单信息
     * @param proProductDeliveryOrder
     * @return
     */
    int add(ProProductDeliveryOrder proProductDeliveryOrder);

    /**
     * 修改提货订单信息
     * @param proProductDeliveryOrder
     * @return
     */
    int updateInfo(ProProductDeliveryOrder proProductDeliveryOrder);

    /**
     * 获取map
     * @return
     */
    List<Map<String, Object>> getCodeToIdMapForProduct();
}
